﻿using System.Collections.Generic;
using System.Threading.Tasks;
using System.Threading;
using SIG.Model.Emails;

namespace SIG.Service
{
    public interface IEmailTemplateService : IEntityService<EmailTemplate>
    {

        EmailTemplate GetEmailTemplateDetail(int id);
        List<EmailTemplate> GetPagedElements(int pageIndex, int pageSize, string keyword, int? categoryId, out int totalCount);
        EmailTemplate GetEmailTemplateByTemplateNo(string templateNo);
        string ReplaceTemplate(string body);

    }
}
